package com.ruoyi.wechat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 设施类型管理对象 c_facility_type
 *
 * @author ruoyi
 * @date 2024-10-12
 */
public class FacilityType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设施类型Id */
    private String ftId;

    /** 设施类型名称 */
    @Excel(name = "设施类型名称")
    private String ftName;

    /** 状态
 0 停用
 1 启用
 */
    @Excel(name = "状态 ")
    private String state;
    private List<Facility> facilities;

    @Override
    public String toString() {
        return "FacilityType{" +
                "ftId='" + ftId + '\'' +
                ", ftName='" + ftName + '\'' +
                ", state='" + state + '\'' +
                ", facilities=" + facilities +
                '}';
    }

    public String getFtId() {
        return ftId;
    }

    public void setFtId(String ftId) {
        this.ftId = ftId;
    }

    public String getFtName() {
        return ftName;
    }

    public void setFtName(String ftName) {
        this.ftName = ftName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<Facility> getFacilities() {
        return facilities;
    }

    public void setFacilities(List<Facility> facilities) {
        this.facilities = facilities;
    }
//    private List<Facility> getfacilities(){
//        return facilities;
//    }
//    private   void setfacilities(List<Facility> facilities ){
//       this.facilities=facilities;
//    }
//
//    public void setFtId(String ftId)
//    {
//        this.ftId = ftId;
//    }
//
//    public String getFtId()
//    {
//        return ftId;
//    }
//    public void setFtName(String ftName)
//    {
//        this.ftName = ftName;
//    }
//
//    public String getFtName()
//    {
//        return ftName;
//    }
//    public void setState(String state)
//    {
//        this.state = state;
//    }
//
//    public String getState()
//    {
//        return state;
//    }
//
//    @Override
//    public String toString() {
//        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
//            .append("ftId", getFtId())
//            .append("ftName", getFtName())
//            .append("state", getState())
//            .toString();
//    }
}
